package com.hansming.bss.modules.sfc.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.hansming.bss.common.persistence.CrudDao;
import com.hansming.bss.common.persistence.annotation.MyBatisDao;
import com.hansming.bss.modules.sfc.entity.LineBranch;

/**
 * 线路分支Dao接口
 * @author Hansming
 * @version 2017-09-15
 */
@MyBatisDao
public interface LineBranchDao extends CrudDao<LineBranch> {
	
	//更具线路id查找所有的线路分支
	public List<LineBranch> selectByLineid(@Param("lineid")String lineid);
	
	//存入线路分支
	public void savelinebranch(@Param("id")String id,@Param("branchname")String branchname,@Param("lineid")String lineid);
	
	public void deletebyid(@Param("id")String id);
	
	public LineBranch selectByLineidLimitOne(@Param("lineid")String lineid);
	
}
